import request from '../utils/request'

export function ajax(method, data) {
  return request({
    url: '/api/v1/' + method,
    method: 'post',
    data
  })
}
